home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software 2000
/
Software 2000 Volume 1 (Disc 1 of 2).iso
/
utilities
/
u286.dms
/
u286.adf
/
PowerPacker
/
PPLib.doc
< prev
next >
Wrap
Text File
|
1991-07-28
|
3KB
|
73 lines
**********************************
powerpacker.library V33.1
Release 1.0
(c) Jul 1990 Nico François
**********************************
First of all read the DISTRIBUTION file for information on... euh well...
distribution :-)
Several people suggested the development of a library to help programs
decrunch files crunched with PowerPacker, and that is exactly what this is.
This library tries to make it very easy to support PowerPacked files. It
is a standard Amiga shared, runtime library and is called exactly like all
the other Amiga libraries. Using this library it will be a lot simpler to make
your program 'PowerPacker compatible' than with the previously distributed
decrunch source.
To install powerpacker.library copy it to your LIBS: directory by hand,
or run the installation script 'Install' (by using 'Execute' or by double-
clicking its icon).
Using powerpacker.library
-------------------------
If you are a C programmer all you need to do is include the correct
headers and open powerpacker.library. After that you can use the functions in
the library as if they were C functions. If your program quits it must of
course close the library again. See 'example.c' for a very simple example.
If you are using Lattice C 5.0 and you don't want to use pragmas, or if
you are using version 4.0 or lower, you must define NO_PRAGMAS before
including 'proto/powerpacker.h' and link with ppSCglue.o (small code) or
ppLCglue.o (large code).
Programmers that use Manx C can use 'Bind' to generate the glue routines
they need (or if they are using 5.0 they can of course use pragmas for in-line
library calls).
Assembly programmers should also include the correct files and open
powerpacker.library. To call a function they must load A6 with the library
base, put the arguments in the appropriate registers and jump to the library
vector offset of the function they want to call. See 'example.asm' for a very
simple example.
All library functions are explained in the file 'pplib.doc'.
Enjoy.
LIBRARY HISTORY:
*****************************************************************************
RELEASE 1.0 (Library Version 33.1)
First release.
*****************************************************************************
powerpacker.library written by Nico François (Yes, Nico is my first name :-)
thanks to Moroder Andreas for the useful suggestions.
(c) 1990 Nico François / PowerPeak
//
Thanks to \X/ Amiga for being the best computer ever !